﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.master" CodeFile="ResidentialEnquiry.aspx.cs" Inherits="ResidentialEnquiry" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"></asp:Content>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
  <table border="0" cellspacing="0" cellpadding="0" class="child1" >
    <tr>
      <td height="70">&nbsp;</td>
    </tr>
  </table>
  <table border="0" cellspacing="0" cellpadding="0" id="table_form_container_header">
    <tr>
      <td><table border="0" cellspacing="0" cellpadding="0" class="child1">
          <tr>
            <td><h2>Property Requirement - Residential</h2></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td class="label mandatory"><span class="star">*</span> denotes mandatory fields</td>
    </tr>
  </table>
  <table id="table_main">
    <tr>
      <td class=""><table border="0" cellspacing="0" cellpadding="0" class="child1">
          <tr> 
            <!--<td class="left_bg">&nbsp;</td>-->
            <td class="top_align"><table border="0" align="center" cellpadding="0" cellspacing="0" class="form_container">
                <tr>
                  <td colspan="3" class="label align_left"><table class="form_container">
                      <tr>
                        <td width="45%" nowrap="nowrap">Enquiry For<asp:RadioButton id="res_enq_sale" Text="Sale" Checked="true" 
GroupName="ResidentialEnquiry" runat="server" onclick="showElement('showSale');hideElement('showRent');hideElement('showEnqR');showElement('showEnqS');hideElement('btn_submitRent');showElement('btn_submitSale');"/>
                          
                          <asp:RadioButton id="res_enq_rent" Text="Rent" Checked="false" 
GroupName="ResidentialEnquiry" runat="server" onclick="showElement('showRent');showElement('showEnqR');hideElement('showSale');hideElement('showEnqS');showElement('btn_submitRent');hideElement('btn_submitSale');"/>
                          </td>
                        <td width="36%" nowrap="nowrap">Source<span class="label"><span class="star">*</span></span>
                           <asp:DropDownList id="drpSource" CssClass="text_dropdown dropdown_width1" runat="server" onchange="selectAgent(this)">
                      <asp:ListItem Value="source">Select Source</asp:ListItem>
                      <asp:ListItem Value="default">Direct</asp:ListItem>
                      <asp:ListItem Value="agent">Agent</asp:ListItem>
                    </asp:DropDownList>&nbsp;&nbsp;</td>
                        <td width="19%" nowrap="nowrap" ><span class="showElement" id="showEnqS">Enquiry ID&nbsp;
                        <asp:TextBox ID="showEnqS" Text="E-R-S-001" CssClass="text_field" ReadOnly="true" runat="server"/>
                         </span><span class="hideElement" id="showEnqR">Enquiry ID&nbsp;<asp:TextBox ID="showEnqR" Text="E-R-R-001" CssClass="text_field" ReadOnly="true" runat="server"/></span></td>
                      </tr>
                    </table></td>
                </tr>
                <tr>
                  <td id="showAgent" class="hideElement" colspan="3"><table border="0" cellspacing="0" cellpadding="0" class="child1">
                      <tr>
                        <td colspan="3"><h3>Agent Details</h3></td>
                      </tr>
                      <tr>
                        <td width="30%" nowrap="nowrap" class="label" >Company Name <span class="label mandatory">*</span></td>
                        <td width="2%">&nbsp;</td>
                        <td width="68%"><asp:TextBox ID="txtAgentCompanyName" runat="server" CssClass="text_field"/></td>
                      </tr>
                      <tr>
                        <td nowrap="nowrap" class="label" >Contact Person</td>
                        <td>&nbsp;</td>
                        <td><asp:TextBox ID="txtAgentContactPerson" runat="server" CssClass="text_field"/></td>
                      </tr>
                      <tr>
                        <td nowrap="nowrap" class="label" >Mobile PhoneNumber</td>
                        <td>&nbsp;</td>
                        <td><asp:TextBox ID="txtAgentMobileNumber" runat="server" CssClass="text_field"/></td>
                      </tr>
                      <tr>
                        <td nowrap="nowrap" class="label" >Office Phone Number</td>
                        <td>&nbsp;</td>
                        <td><asp:TextBox ID="txtAgentOfficeNumber" runat="server" CssClass="text_field"/></td>
                      </tr>
                      <tr>
                        <td nowrap="nowrap" class="label" >Fax Number</td>
                        <td>&nbsp;</td>
                        <td><asp:TextBox ID="txtAgentFaxNumber" runat="server" CssClass="text_field"/></td>
                      </tr>
                      <tr>
                        <td nowrap="nowrap" class="label" >E-mail ID</td>
                        <td>&nbsp;</td>
                        <td><asp:TextBox ID="txtAgentEmailID" runat="server" CssClass="text_field"/></td>
                      </tr>
                    </table></td>
                </tr>
                <tr>
                  <td colspan="3"><h3>Customer Details</h3></td>
                </tr>
                <tr>
                  <td width="30%" nowrap="nowrap"  class="label">First Name<span class="star">*</span></td>
                  <td width="2%">&nbsp;</td>
                  <td width="68%"><asp:TextBox ID="txtCustFirstName" runat="server" CssClass="text_field"/></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Last Name</td>
                  <td>&nbsp;</td>
                  <td><asp:TextBox ID="txtCustLastName" runat="server" CssClass="text_field"/></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Company Name</td>
                  <td>&nbsp;</td>
                  <td><asp:TextBox ID="txtCustCompanyName" runat="server" CssClass="text_field"/></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" > Mobile Phone Number<span class="star">*</span></td>
                  <td>&nbsp;</td>
                  <td><asp:TextBox ID="txtCustMobileNumber" runat="server" CssClass="text_field"/>
                    &nbsp;<a href="#" class="small">Is Existing Number?</a></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Landlinel Phone Number</td>
                  <td >&nbsp;</td>
                  <td ><asp:TextBox ID="txtCustPhoneNumber" runat="server" CssClass="text_field"/></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Fax Number</td>
                  <td >&nbsp;</td>
                  <td ><asp:TextBox ID="txtCustFaxNumber" runat="server" CssClass="text_field"/></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >E-mail ID</td>
                  <td >&nbsp;</td>
                  <td ><asp:TextBox ID="txtCustEmailID" runat="server" CssClass="text_field"/></td>
                </tr>
                <tr>
                  <td class="label top_align" >Address</td>
                  <td >&nbsp;</td>
                  <td ><asp:TextBox id="txtCustAddress" runat="server" CssClass="text_field"  TextMode="MultiLine" Columns="30" Rows="3" /></td>
                </tr>
                <tr>
                  <td class="label" >Zip Code</td>
                  <td >&nbsp;</td>
                  <td ><asp:TextBox ID="txtCustZipCode" runat="server" CssClass="text_field"/></td>
                </tr>
                <tr>
                  <td class="label" >Country</td>
                  <td >&nbsp;</td>
                  <td ><asp:DropDownList id="drpCountry2" CssClass="text_dropdown dropdown_width1" runat="server">
                      <asp:ListItem>Select Country</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                  <td class="label" >State</td>
                  <td >&nbsp;</td>
                  <td ><asp:DropDownList id="drpCountry3" CssClass="text_dropdown dropdown_width1" runat="server">
                      <asp:ListItem>Select State</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                  <td class="label" >City</td>
                  <td >&nbsp;</td>
                  <td ><asp:DropDownList id="drpCountry4" CssClass="text_dropdown dropdown_width1" runat="server">
                      <asp:ListItem>Select City</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                  <td colspan="3" ><h3>I'm looking for</h3></td>
                </tr>
                <tr>
                  <td class="label top_align" >Property Type<span class="label"><span class="star">*</span></span></td>
                  <td >&nbsp;</td>
                  <td ><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="20%" class="label align_left"><asp:CheckBox id="chkFlat" TextAlign="Right" runat="server" Text="Flat" /></td>
                        <td width="80%" class="label align_left"><asp:CheckBox id="chkIndependenttHouse" TextAlign="Right" runat="server" Text="Independent House" /></td>
                      </tr>
                      <tr>
                        <td class="label align_left"><asp:CheckBox id="chkVillas" TextAlign="Right" runat="server" Text="Villas" /></td>
                        <td class="label align_left"><asp:CheckBox id="chkRowHouses" TextAlign="Right" runat="server" Text=" Row Houses " /></td>
                      </tr>
                      <tr>
                        <td class="label align_left"><asp:CheckBox id="chkSites" TextAlign="Right" runat="server" Text="Sites" />
                          Sites</td>
                        <td class="label align_left"><asp:CheckBox id="chkWeekendHomes" TextAlign="Right" runat="server" Text="Weekend Homes" /></td>
                      </tr>
                      <tr>
                        <td class="label align_left"><asp:CheckBox id="chkLeisure" TextAlign="Right" runat="server" Text="Leisure" /></td>
                        <td class="label align_left"><table border="0" cellspacing="0" cellpadding="0" class="form_container">
                            <tr>
                              <td width="14%"><asp:CheckBox id="chkPrpOther" TextAlign="Right" runat="server" Text="Other" /></td>
                              <td width="86%" id="showPropertyOther" class="hideElement"><asp:TextBox ID="txt_property_other"  ID="txt_property_other" runat="server" CssClass="text_field"/></td>
                            </tr>
                          </table></td>
                      </tr>
                    </table></td>
                </tr>
                <tr>
                  <td class="label" >Location</td>
                  <td >&nbsp;</td>
                  <td ><table border="0" cellspacing="0" cellpadding="0" class="form_container">
                      <tr>
                        <td width="35%"><asp:DropDownList id="drpLocation" CssClass="text_dropdown dropdown_width1" runat="server">
                            <asp:ListItem>Area Names</asp:ListItem>
                            <asp:ListItem>Koramangala</asp:ListItem>
                            <asp:ListItem>Other</asp:ListItem>
                          </asp:DropDownList></td>
                        <td width="65%" id="showLocationOther" class="hideElement"><asp:TextBox ID="txtLocationOther" runat="server" CssClass="text_field"/></td>
                      </tr>
                    </table></td>
                </tr>
                <tr>
                  <td class="label" >Sub Location</td>
                  <td>&nbsp;</td>
                  <td><asp:DropDownList id="drpSubLocation" CssClass="text_dropdown dropdown_width1" runat="server">
                      <asp:ListItem>Sub Area Names</asp:ListItem>
                      <asp:ListItem>100 Feet Road</asp:ListItem>
                      <asp:ListItem>Other</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr class="showElement" id="showSale">
                  <td class="label" >Sale Price Minimum<span class="star">*</span></td>
                  <td>&nbsp;</td>
                  <td class="label align_left"><asp:TextBox ID="txtSalePriceMin" runat="server" CssClass="text_field"/>
                    &nbsp;&nbsp;Max.
                    <asp:TextBox ID="txtSalePriceMax" runat="server" CssClass="text_field"/></td>
                </tr>
                <tr id="showRent" class="hideElement">
                  <td class="label" >Rent Price Minimum<span class="star">*</span></td>
                  <td>&nbsp;</td>
                  <td class="label align_left"><asp:TextBox ID="txtRentPriceMin" runat="server" CssClass="text_field"/>
                    &nbsp;&nbsp;Max.
                    <asp:TextBox ID="txtRentPriceMax" runat="server" CssClass="text_field"/></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Furnished</td>
                  <td>&nbsp;</td>
                  <td><asp:DropDownList id="drpFurnished" CssClass="text_dropdown dropdown_width1" runat="server">
                      <asp:ListItem>Furnished</asp:ListItem>
                      <asp:ListItem>Semi-Furnished</asp:ListItem>
                      <asp:ListItem>Unfurnished</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                  <td class="label" >Bed Rooms/BHK</td>
                  <td>&nbsp;</td>
                  <td><asp:DropDownList id="drpBedrooms" CssClass="text_dropdown dropdown_width2" runat="server">
                      <asp:ListItem>Any</asp:ListItem>
                      <asp:ListItem>1</asp:ListItem>
                      <asp:ListItem>2</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                  <td class="label" >Bathrooms</td>
                  <td>&nbsp;</td>
                  <td><asp:DropDownList id="drpBathrooms" CssClass="text_dropdown dropdown_width2" runat="server">
                      <asp:ListItem>Any</asp:ListItem>
                      <asp:ListItem>1</asp:ListItem>
                      <asp:ListItem>2</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Car Park</td>
                  <td>&nbsp;</td>
                  <td><asp:DropDownList id="drpCarpark" CssClass="text_dropdown dropdown_width2" runat="server">
                      <asp:ListItem>Any</asp:ListItem>
                      <asp:ListItem>1</asp:ListItem>
                      <asp:ListItem>2</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Swimming Pool</td>
                  <td>&nbsp;</td>
                  <td><asp:DropDownList id="drpSwimmingPool" CssClass="text_dropdown dropdown_width2" runat="server">
                      <asp:ListItem>No</asp:ListItem>
                      <asp:ListItem>Private Swimming Pool</asp:ListItem>
                      <asp:ListItem>Public Swimming Pool</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Servant Quarters</td>
                  <td>&nbsp;</td>
                  <td><asp:DropDownList id="drpServantQuarters" CssClass="text_dropdown dropdown_width2" runat="server">
                      <asp:ListItem>Any</asp:ListItem>
                      <asp:ListItem>1</asp:ListItem>
                      <asp:ListItem>2</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Bathrooms</td>
                  <td>&nbsp;</td>
                  <td><asp:DropDownList id="drpServantBathrooms" CssClass="text_dropdown dropdown_width2" runat="server">
                      <asp:ListItem>Any</asp:ListItem>
                      <asp:ListItem>1</asp:ListItem>
                      <asp:ListItem>2</asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Plot / Land Area </td>
                  <td class="showElement">&nbsp;</td>
                  <td class="showElement"><asp:TextBox ID="txtPlotArea" runat="server" CssClass="text_field"/>
                    <asp:DropDownList id="drpPlotArea" CssClass="text_dropdown dropdown_width2" runat="server">
                      <asp:ListItem>--Unit--</asp:ListItem>
                      <asp:ListItem>Sq-ft</asp:ListItem>
                      <asp:ListItem>Sq-m</asp:ListItem>
                      <asp:ListItem>Sq-Yrd</asp:ListItem>
                    </asp:DropDownList>
                    <a href="#" class="small">Area Calculator</a></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label" >Built Up Area</td>
                  <td >&nbsp;</td>
                  <td ><span class="label align_left">
                    <asp:TextBox ID="txtBuiltArea" runat="server" CssClass="text_field"/>
                    </span><span class="showElement">
                    <asp:DropDownList id="drpBuilArea" CssClass="text_dropdown dropdown_width2" runat="server">
                      <asp:ListItem>--Unit--</asp:ListItem>
                      <asp:ListItem>Sq-ft</asp:ListItem>
                      <asp:ListItem>Sq-m</asp:ListItem>
                      <asp:ListItem>Sq-Yrd</asp:ListItem>
                    </asp:DropDownList>
                    </span></td>
                </tr>
                <tr>
                  <td nowrap="nowrap" class="label top_align" >Notes</td>
                  <td>&nbsp;</td>
                  <td><asp:TextBox id="txtNotes" runat="server" CssClass="text_field"  TextMode="MultiLine" Columns="30" Rows="3" /></td>
                </tr>
                <tr>
                  <td class="label" >&nbsp;</td>
                  <td>&nbsp;</td>
                  <td class="label align_left"><asp:CheckBox id="check20" TextAlign="Right" runat="server" />
                    I hereby confirm to pay Service Charge of 1 Month / 1%</td>
                </tr>
                <tr>
                  <td class="label" >&nbsp;</td>
                  <td>&nbsp;</td>
                  <td class="label align_left">&nbsp;</td>
                </tr>
                <tr id="btn_submitSale" class="showElement">
                  <td class="label" >&nbsp;</td>
                  <td>&nbsp;</td>
                  <td class="label align_left"><asp:Button CssClass="button submit" ID="btnSubmitSale" Text="Submit Sale" runat="server"/>
                    <asp:Button CssClass="button submit" ID="btnCancelSale" Text="Cancel" runat="server"/>
                </tr>
                <tr id="btn_submitRent" class="hideElement">
                  <td class="label" >&nbsp;</td>
                  <td>&nbsp;</td>
                  <td class="label align_left"><asp:Button CssClass="button submit" ID="btnSubmitRent" Text="Submit Sale" runat="server"/>
                    <asp:Button CssClass="button submit" ID="btnCancelRent" Text="Cancel" runat="server"/></td>
                </tr>
                <tr>
                  <td class="label" >&nbsp;</td>
                  <td>&nbsp;</td>
                  <td class="label align_left"">&nbsp;</td>
                </tr>
              </table></td>
          </tr>
        </table></td>
    </tr>
  </table>
</asp:Content>
